Object Model

The object model for the OLE Messaging Library is a hierarchical model. In the following table, each indented object is considered a child of the object under which it is indented. An object is the parent of every object at the next level of indentation under it. For example, an Attachments collection and a Recipients collection are both child objects of a Message object, and a Messages collection is a parent object of a Message object. However, a Messages collection is not a parent object of a Recipients collection.

Session2KVAZVM
     AddressLists collection3OA6JWC
          AddressList1O7.CTU
               AddressEntries collection8D27ZI
                    AddressEntry1O6Y3BK
                         Fields collection0EU12H
                              Field19WJLQ9
                    AddressEntryFilterA6LSSV
                         Fields collection0EU12H
                              Field19WJLQ9
     Folder (Inbox or Outbox)
          Fields collection0EU12H
               Field19WJLQ9
          Folders collection1TAZ6M
               FolderKM47H0
                      Folder  
          Messages collection5C3TZ6O
               MessageC062VO
                    Attachments collection2XOH1D
                         Attachment35G2KD
                    Fields collection0EU12H
                         Field19WJLQ9
                    Recipients collection1S0GWB8
                         Recipient_SDVUS
                              AddressEntry1O6Y3BK
                                   Fields collection0EU12H
                                        Field19WJLQ9
               MessageFilter19R8NUY
                    Fields collection0EU12H
                         Field19WJLQ9
     InfoStores collectionX9N77_
          InfoStore14IU0EN
               FolderKM47H0
                      Folder  

The notation    Folder    signifies that a folder can contain other folders, which in turn can contain more folders, nested to an indefinite level.